/*
 * @Description: 私有配置
 * @Author: qingyang
 * @Date: 2023-01-12 14:46:07
 * @LastEditors: qingyang
 * @LastEditTime: 2023-06-28 18:10:27
 */
export const userSelfConfig = () => {
  // 没有token情况下的白名单
  const WHITE_NAME_LIST = ['/login', '/no-permission'];
  // NOTE 固定路由
  const CONSTANT_ROUTES = [
    '/',
    '/404',
    '/401',
    '/dev',
    '/redirect',
    '/todo-list',
    '/todo-list/detail',
    '/no-permission',
    '/workbench',
    '/dataManagement/fillInTask/detail',
    '/system/organizationUser/supplier',
    '/supplierData',
    '/supplierData/detail',
    '/carbon-target-management/factory-carbon-monitoring',
    '/carbon-asset-management/inspect-list',
    '/carbon-asset-management/carbon-asset-account',
    '/system/dataDict',
    '/system/configManagement/factoryWorkshopMeterSet',
    '/myModel/modelList',
    '/myModel/partsModel',
    '/carbon-asset-management/inspect/detail',
    // 暂时写上
    '/tissueCarbon/analysis/distribution',
    '/tissueCarbon/analysis/tendency',
    '/productCarbon/emissionComparison',
    '/productCarbon/emissionDistribution'
  ];
  return {
    WHITE_NAME_LIST,
    CONSTANT_ROUTES
  };
};
